package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.OrderSettingList;

import java.util.List;

public interface OrderSettingListService {

    /**
     * 按条件分页查询
     * @param queryPageBean
     * @return
     */
    PageResult findPage(QueryPageBean queryPageBean);

    /**
     * 添加预约列表
     * @param orderSettingList
     * @return
     */
    void addOrderSettingList(OrderSettingList orderSettingList);

    /**
     * 取消预约
     * @param id
     * @return
     */
    void delete(int id);

    /**
     * 批量取消预约
     * @param orderSettingLists
     * @return
     */
    void deletes(List<OrderSettingList> orderSettingLists);
}
